package me.flyray.bsin.server.domain._gen;

import java.util.Map;
import java.util.HashMap;
import java.util.Arrays;
import java.util.List;

import java.io.Serializable;

import me.flyray.bsin.server.domain.SysApp;

// tell cpd to start ignoring code - CPD-OFF
/**
 *  Sysapp: sys_app
 */
@SuppressWarnings({"PMD"})
public class _SysApp implements Serializable{
    
    /* 应用id: APP_ID VARCHAR */
    public static final String PROP_NAME_appId = "appId";
    public static final int PROP_ID_appId = 1;
    
    /* 应用编号: APP_CODE VARCHAR */
    public static final String PROP_NAME_appCode = "appCode";
    public static final int PROP_ID_appCode = 2;
    
    /* 应用名称: APP_NAME VARCHAR */
    public static final String PROP_NAME_appName = "appName";
    public static final int PROP_ID_appName = 3;
    
    /* 应用图标: LOGO VARCHAR */
    public static final String PROP_NAME_logo = "logo";
    public static final int PROP_ID_logo = 4;
    
    /* 应用访问地址: URL VARCHAR */
    public static final String PROP_NAME_url = "url";
    public static final int PROP_ID_url = 5;
    
    /* 应用类型0、默认应用 1、普通应用: TYPE INTEGER */
    public static final String PROP_NAME_type = "type";
    public static final int PROP_ID_type = 6;
    
    /* 应用状态 0、未发布 1、已发布: STATUS INTEGER */
    public static final String PROP_NAME_status = "status";
    public static final int PROP_ID_status = 7;
    
    /* 应用描述: REMARK VARCHAR */
    public static final String PROP_NAME_remark = "remark";
    public static final int PROP_ID_remark = 8;
    
    /* 应用前端语言类型 0、vue 1、react: APP_LANGUAGE INTEGER */
    public static final String PROP_NAME_appLanguage = "appLanguage";
    public static final int PROP_ID_appLanguage = 9;
    
    /* 主题: THEME VARCHAR */
    public static final String PROP_NAME_theme = "theme";
    public static final int PROP_ID_theme = 10;
    
    /* 创建人: CREATE_BY VARCHAR */
    public static final String PROP_NAME_createBy = "createBy";
    public static final int PROP_ID_createBy = 11;
    
    /* 创建时间: CREATE_TIME DATETIME */
    public static final String PROP_NAME_createTime = "createTime";
    public static final int PROP_ID_createTime = 12;
    
    /* 修改人: UPDATE_BY VARCHAR */
    public static final String PROP_NAME_updateBy = "updateBy";
    public static final int PROP_ID_updateBy = 13;
    
    /* 修改时间: UPDATE_TIME DATETIME */
    public static final String PROP_NAME_updateTime = "updateTime";
    public static final int PROP_ID_updateTime = 14;
    
    /* 逻辑删除 0、未删除 1、已删除: DEL_FLAG INTEGER */
    public static final String PROP_NAME_delFlag = "delFlag";
    public static final int PROP_ID_delFlag = 15;
    

    private static int _PROP_ID_BOUND = 16;

    

    public static final List<String> PK_PROP_NAMES = Arrays.asList(PROP_NAME_appId);
    public static final int[] PK_PROP_IDS = new int[]{PROP_ID_appId};

    private static final String[] PROP_ID_TO_NAME = new String[16];
    private static final Map<String,Integer> PROP_NAME_TO_ID = new HashMap<>();
    static{
      
          PROP_ID_TO_NAME[PROP_ID_appId] = PROP_NAME_appId;
          PROP_NAME_TO_ID.put(PROP_NAME_appId, PROP_ID_appId);
      
          PROP_ID_TO_NAME[PROP_ID_appCode] = PROP_NAME_appCode;
          PROP_NAME_TO_ID.put(PROP_NAME_appCode, PROP_ID_appCode);
      
          PROP_ID_TO_NAME[PROP_ID_appName] = PROP_NAME_appName;
          PROP_NAME_TO_ID.put(PROP_NAME_appName, PROP_ID_appName);
      
          PROP_ID_TO_NAME[PROP_ID_logo] = PROP_NAME_logo;
          PROP_NAME_TO_ID.put(PROP_NAME_logo, PROP_ID_logo);
      
          PROP_ID_TO_NAME[PROP_ID_url] = PROP_NAME_url;
          PROP_NAME_TO_ID.put(PROP_NAME_url, PROP_ID_url);
      
          PROP_ID_TO_NAME[PROP_ID_type] = PROP_NAME_type;
          PROP_NAME_TO_ID.put(PROP_NAME_type, PROP_ID_type);
      
          PROP_ID_TO_NAME[PROP_ID_status] = PROP_NAME_status;
          PROP_NAME_TO_ID.put(PROP_NAME_status, PROP_ID_status);
      
          PROP_ID_TO_NAME[PROP_ID_remark] = PROP_NAME_remark;
          PROP_NAME_TO_ID.put(PROP_NAME_remark, PROP_ID_remark);
      
          PROP_ID_TO_NAME[PROP_ID_appLanguage] = PROP_NAME_appLanguage;
          PROP_NAME_TO_ID.put(PROP_NAME_appLanguage, PROP_ID_appLanguage);
      
          PROP_ID_TO_NAME[PROP_ID_theme] = PROP_NAME_theme;
          PROP_NAME_TO_ID.put(PROP_NAME_theme, PROP_ID_theme);
      
          PROP_ID_TO_NAME[PROP_ID_createBy] = PROP_NAME_createBy;
          PROP_NAME_TO_ID.put(PROP_NAME_createBy, PROP_ID_createBy);
      
          PROP_ID_TO_NAME[PROP_ID_createTime] = PROP_NAME_createTime;
          PROP_NAME_TO_ID.put(PROP_NAME_createTime, PROP_ID_createTime);
      
          PROP_ID_TO_NAME[PROP_ID_updateBy] = PROP_NAME_updateBy;
          PROP_NAME_TO_ID.put(PROP_NAME_updateBy, PROP_ID_updateBy);
      
          PROP_ID_TO_NAME[PROP_ID_updateTime] = PROP_NAME_updateTime;
          PROP_NAME_TO_ID.put(PROP_NAME_updateTime, PROP_ID_updateTime);
      
          PROP_ID_TO_NAME[PROP_ID_delFlag] = PROP_NAME_delFlag;
          PROP_NAME_TO_ID.put(PROP_NAME_delFlag, PROP_ID_delFlag);
      
    }

    
    /* 应用id: APP_ID */
    private java.lang.String _appId;
    
    /* 应用编号: APP_CODE */
    private java.lang.String _appCode;
    
    /* 应用名称: APP_NAME */
    private java.lang.String _appName;
    
    /* 应用图标: LOGO */
    private java.lang.String _logo;
    
    /* 应用访问地址: URL */
    private java.lang.String _url;
    
    /* 应用类型0、默认应用 1、普通应用: TYPE */
    private java.lang.Integer _type;
    
    /* 应用状态 0、未发布 1、已发布: STATUS */
    private java.lang.Integer _status;
    
    /* 应用描述: REMARK */
    private java.lang.String _remark;
    
    /* 应用前端语言类型 0、vue 1、react: APP_LANGUAGE */
    private java.lang.Integer _appLanguage;
    
    /* 主题: THEME */
    private java.lang.String _theme;
    
    /* 创建人: CREATE_BY */
    private java.lang.String _createBy;
    
    /* 创建时间: CREATE_TIME */
    private java.time.LocalDateTime _createTime;
    
    /* 修改人: UPDATE_BY */
    private java.lang.String _updateBy;
    
    /* 修改时间: UPDATE_TIME */
    private java.time.LocalDateTime _updateTime;
    
    /* 逻辑删除 0、未删除 1、已删除: DEL_FLAG */
    private java.lang.Integer _delFlag;
    

    public _SysApp(){
    }

    protected SysApp newInstance(){
       return new SysApp();
    }

    public String orm_entityName() {
      return "me.flyray.bsin.server.domain.SysApp";
    }

    
    /**
     * 应用id: APP_ID
     */
    public java.lang.String getAppId(){
         //onPropGet(PROP_ID_appId);
         return _appId;
    }

    /**
     * 应用id: APP_ID
     */
    public void setAppId(java.lang.String value){
        this._appId = value;
    }
    
    /**
     * 应用编号: APP_CODE
     */
    public java.lang.String getAppCode(){
         //onPropGet(PROP_ID_appCode);
         return _appCode;
    }

    /**
     * 应用编号: APP_CODE
     */
    public void setAppCode(java.lang.String value){
        this._appCode = value;
    }
    
    /**
     * 应用名称: APP_NAME
     */
    public java.lang.String getAppName(){
         //onPropGet(PROP_ID_appName);
         return _appName;
    }

    /**
     * 应用名称: APP_NAME
     */
    public void setAppName(java.lang.String value){
        this._appName = value;
    }
    
    /**
     * 应用图标: LOGO
     */
    public java.lang.String getLogo(){
         //onPropGet(PROP_ID_logo);
         return _logo;
    }

    /**
     * 应用图标: LOGO
     */
    public void setLogo(java.lang.String value){
        this._logo = value;
    }
    
    /**
     * 应用访问地址: URL
     */
    public java.lang.String getUrl(){
         //onPropGet(PROP_ID_url);
         return _url;
    }

    /**
     * 应用访问地址: URL
     */
    public void setUrl(java.lang.String value){
        this._url = value;
    }
    
    /**
     * 应用类型0、默认应用 1、普通应用: TYPE
     */
    public java.lang.Integer getType(){
         //onPropGet(PROP_ID_type);
         return _type;
    }

    /**
     * 应用类型0、默认应用 1、普通应用: TYPE
     */
    public void setType(java.lang.Integer value){
        this._type = value;
    }
    
    /**
     * 应用状态 0、未发布 1、已发布: STATUS
     */
    public java.lang.Integer getStatus(){
         //onPropGet(PROP_ID_status);
         return _status;
    }

    /**
     * 应用状态 0、未发布 1、已发布: STATUS
     */
    public void setStatus(java.lang.Integer value){
        this._status = value;
    }
    
    /**
     * 应用描述: REMARK
     */
    public java.lang.String getRemark(){
         //onPropGet(PROP_ID_remark);
         return _remark;
    }

    /**
     * 应用描述: REMARK
     */
    public void setRemark(java.lang.String value){
        this._remark = value;
    }
    
    /**
     * 应用前端语言类型 0、vue 1、react: APP_LANGUAGE
     */
    public java.lang.Integer getAppLanguage(){
         //onPropGet(PROP_ID_appLanguage);
         return _appLanguage;
    }

    /**
     * 应用前端语言类型 0、vue 1、react: APP_LANGUAGE
     */
    public void setAppLanguage(java.lang.Integer value){
        this._appLanguage = value;
    }
    
    /**
     * 主题: THEME
     */
    public java.lang.String getTheme(){
         //onPropGet(PROP_ID_theme);
         return _theme;
    }

    /**
     * 主题: THEME
     */
    public void setTheme(java.lang.String value){
        this._theme = value;
    }
    
    /**
     * 创建人: CREATE_BY
     */
    public java.lang.String getCreateBy(){
         //onPropGet(PROP_ID_createBy);
         return _createBy;
    }

    /**
     * 创建人: CREATE_BY
     */
    public void setCreateBy(java.lang.String value){
        this._createBy = value;
    }
    
    /**
     * 创建时间: CREATE_TIME
     */
    public java.time.LocalDateTime getCreateTime(){
         //onPropGet(PROP_ID_createTime);
         return _createTime;
    }

    /**
     * 创建时间: CREATE_TIME
     */
    public void setCreateTime(java.time.LocalDateTime value){
        this._createTime = value;
    }
    
    /**
     * 修改人: UPDATE_BY
     */
    public java.lang.String getUpdateBy(){
         //onPropGet(PROP_ID_updateBy);
         return _updateBy;
    }

    /**
     * 修改人: UPDATE_BY
     */
    public void setUpdateBy(java.lang.String value){
        this._updateBy = value;
    }
    
    /**
     * 修改时间: UPDATE_TIME
     */
    public java.time.LocalDateTime getUpdateTime(){
         //onPropGet(PROP_ID_updateTime);
         return _updateTime;
    }

    /**
     * 修改时间: UPDATE_TIME
     */
    public void setUpdateTime(java.time.LocalDateTime value){
        this._updateTime = value;
    }
    
    /**
     * 逻辑删除 0、未删除 1、已删除: DEL_FLAG
     */
    public java.lang.Integer getDelFlag(){
         //onPropGet(PROP_ID_delFlag);
         return _delFlag;
    }

    /**
     * 逻辑删除 0、未删除 1、已删除: DEL_FLAG
     */
    public void setDelFlag(java.lang.Integer value){
        this._delFlag = value;
    }
    
}
// resume CPD analysis - CPD-ON
